package models

import "time"

type User struct {
	ID       int64 `gorm:"primaryKey"`
	Name     string
	Role     string
	Password string
}

type Session struct {
	ID          int64 `gorm:"primaryKey"`
	User        User  `gorm:"embedded"`
	SessionText string
	CreateTime  *time.Time
}
